﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ManufacturerAdd.aspx.cs" Inherits="weba.Sales.ManufacturerAdd" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
         <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
            <ContentTemplate>
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td height="30" background="../Images/tab_05.gif">
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td width="12" height="30">
                                        <img src="../Images/tab_03.gif" width="12" height="30" />
                                    </td>
                                    <td>
                                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                            <tr>
                                                <td width="46%" valign="middle">
                                                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                        <tr>
                                                            <td>
                                                                <div align="center">
                                                                    <img src="../images/tb.gif" width="16" height="16" /></div>
                                                            </td>
                                                            <td width="95%">
                                                                <span class="titleBold12px">添加厂家信息</span></td>
                                                        </tr>
                                                    </table>
                                                </td>
                                                <td width="54%" align="right">
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                    <td width="16" height="30">
                                        <img src="../Images/tab_07.gif" width="16" height="30" />
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td width="8" background="../images/tab_12.gif">
                                        &nbsp;
                                    </td>
                                    <td>
                                        <table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
                                            <tr>
                                                <td width="100" height="30" align="right">
                                                    厂家名称：
                                                </td>
                                                <td>
                                                    <asp:TextBox ID="txtManufacturerName" runat="server" MaxLength="50" Width="300px"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                                        ControlToValidate="txtManufacturerName" Display="Dynamic" ErrorMessage="请输入厂家名称" 
                                                        ValidationGroup="val" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                        <asp:Label ID="lblRootDepartmentID" runat="server" Visible="False"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td width="100" height="30" align="right">
                                                    厂家代码：
                                                </td>
                                                <td>
                                                    <asp:TextBox ID="txtManufacturerCode" runat="server" 
                                                        Width="300px"></asp:TextBox>
                                                    如有多个代码请用英文逗号隔开<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                                                        ControlToValidate="txtManufacturerCode" Display="Dynamic" ErrorMessage="请输入厂家代码" 
                                                        ValidationGroup="val" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td width="100" height="30" align="right">
                                                    银行账号：
                                                </td>
                                                <td>
                                                    <asp:TextBox ID="txtBankAccount" runat="server" Width="300px" Height="50px" 
                                                        TextMode="MultiLine"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                                                        ControlToValidate="txtBankAccount" Display="Dynamic" ErrorMessage="请输入银行账号信息" 
                                                        ValidationGroup="val" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                                </td>
                                            </tr>

                                            <tr>
                                                <td width="100" height="30" align="right">
                                                    联系人：
                                                </td>
                                                <td>
                                                    <asp:TextBox ID="txtContactPersonName" runat="server"></asp:TextBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td width="100" height="30" align="right">
                                                    电话：
                                                </td>
                                                <td>
                                                    <asp:TextBox ID="txtPhone" runat="server"></asp:TextBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td width="100" height="30" align="right">
                                                    手机：
                                                </td>
                                                <td>
                                                    <asp:TextBox ID="txtCellPhone" runat="server"></asp:TextBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td width="100" height="30" align="right">
                                                     传真：
                                                </td>
                                                <td>
                                                    <asp:TextBox ID="txtFax" runat="server"></asp:TextBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td width="100" height="30" align="right">
                                                    联系地址：
                                                </td>
                                                <td>
                                                    <asp:TextBox ID="txtAddress" runat="server" Width="400px"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" 
                                                        ControlToValidate="txtAddress" Display="Dynamic" ErrorMessage="请输入联系地址" 
                                                        SetFocusOnError="True" ValidationGroup="val"></asp:RequiredFieldValidator>
                                                </td>
                                            </tr>
                                             <tr>
                                                <td width="100" height="30" align="right">
                                                    备注：
                                                </td>
                                                <td>
                                                    <asp:TextBox ID="txtNotes" runat="server" Width="400px"></asp:TextBox>
                                                </td>
                                            </tr>
                                           <tr>
                                                <td width="100" height="30" align="right">
                                                    &nbsp;
                                                </td>
                                                <td align="center">
                                                    <asp:Button ID="btnAdd" runat="server" Text="添加" OnClick="btnAdd_Click" ValidationGroup="val" 
                                                    Font-Size="16px" Height="30px" Width="100px"/>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                    <td width="8" background="../images/tab_15.gif">
                                        &nbsp;
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td height="35" background="../images/tab_19.gif">
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td width="12" height="35">
                                        <img src="../images/tab_18.gif" width="12" height="35" />
                                    </td>
                                    <td align="center">
                                        &nbsp;
                                    </td>
                                    <td width="16">
                                        <img src="../images/tab_20.gif" width="16" height="35" />
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </ContentTemplate>
            <Triggers>
                <asp:PostBackTrigger ControlID="btnAdd" />
            </Triggers>
        </asp:UpdatePanel>
    </div>
    </form>
</body>
</html>
